# Create your views here.
from models import *
from django.shortcuts import render_to_response


def index(request):
 posts = Post.objects.all().order_by("-created")
 categories = category.objects.all()
 pages = Page.objects.all()
 #sites= Sites.objects.all()
 return render_to_response("index.html", locals())
 
